﻿using RearLivestock.Common.Domains.Enum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RearLivestock.Common.Dtos
{
    /// <summary>
    /// 种猪配种dto
    /// </summary>
    public class PigsBreedingDto
    {
        /// <summary>
        /// 配种ID
        /// </summary>
        public int PigsBreedingId { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public string Leader { get; set; } = string.Empty;
        /// <summary>
        /// 上一次配种的日期
        /// </summary>
        public DateTime LastBreedingDate { get; set; }
        /// <summary>
        /// 耳号
        /// </summary>
        public int BasicInforId { get; set; }
        /// <summary>
        /// 耳号
        /// </summary>
        public string EarNumber { get; set; } = string.Empty;
        /// <summary>
        /// 第一次配种使用的父亲耳号
        /// </summary>
        public string FatherEarNumber { get; set; } = string.Empty;
        /// <summary>
        /// 配种方式ID
        /// </summary>
        public int BreedingmethodId { get; set; }
        /// <summary>
        /// 配种方式
        /// </summary>
        public string BreedingmethodName { get; set; } = string.Empty;
        /// <summary>
        /// 种母的发情类型
        /// </summary>
        public EstrustypeEnums Estrustype { get; set; }
        /// <summary>
        /// 配种评分
        /// </summary>
        public int Firstmatchrating { get; set; }
        /// <summary>
        /// 当前所在栋舍
        /// </summary>
        public string Currentbuilding { get; set; } = string.Empty;

        /// <summary>
        /// 当前所在栏位
        /// </summary>
        public string Currentfield { get; set; } = string.Empty;
        /// <summary>
        /// 转入栋舍
        /// </summary>
        public int Transferbuilding { get; set; }
        /// <summary>
        /// 栋舍名称
        /// </summary>
        public string BedroomName { get; set; } = string.Empty;
        /// <summary>
        /// 转入栏位
        /// </summary>
        public int Transferfield { get; set; }
        /// <summary>
        /// 栏位名称
        /// </summary>
        public string FieldName { get; set; } = string.Empty;
        /// <summary>
        /// 繁殖状态
        /// </summary>
        public ReproductivestatusEnums Reproductivestatus { get; set; }
        /// <summary>
        /// 事件日期
        /// </summary>
        public DateTime EventDate { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string DocumentNo { get; set; } = string.Empty;

        /// <summary>
        /// 重量
        /// </summary>
        public decimal BreedingWeight { get; set; }

        /// <summary>
        /// 删除 1-未删除 2-已删除
        /// </summary>
        public int IsDeleted { get; set; }
        /// <summary>
        /// 品种名称
        /// </summary>
        public string VarietiesName { get; set; } = string.Empty;
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreatedOwner { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedTime { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateOwner { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 审核人
        /// </summary>
        public string? ExamineOwner { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ExamineTime { get; set; }

    }
}
